package com.skillworld.webapp.model.userservice;

@SuppressWarnings("serial")
public class NicknameAlreadyInUseException extends Exception 
{

    private String nickname;

    
    public NicknameAlreadyInUseException(String nickname) 
    {
        super("The nickname '" + nickname + "' is already in use.");
        this.nickname = nickname;
    }
    

    public String getNickname() 
    {
        return nickname;
    }
    
}
